  
export const subCategoryColumns = [
  { title: '名称', dataIndex: 'title', width: '300px', key: 'title' },
  {
    title: '分类等级',
    dataIndex: 'level',
    width: '300px',
    customRender: ({ text }: any) => {
      return text === '0' ? '一级分类' : '二级分类'
    },
  },
  {
    title: '上级分类',
    dataIndex: 'parentId',
    width: '300px',
    key: 'parentId',
  },
  {
    title: '操作',
    dataIndex: 'operation',
    width: '300px',
    key: 'operation',
  },
]
